﻿@using ClassifiedAds.IdentityServer.Models.Role
@model ClaimModel

<form asp-controller="Role" asp-action="DeleteClaim" Method="post">
    <div class="row">

        <div class="col-12">
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a asp-controller="Role" asp-action="Index">Roles</a></li>
                    <li class="breadcrumb-item"><a asp-controller="Role" asp-action="Edit" asp-route-id="@Model.Role.Id">@Model.Role.Name</a></li>
                    <li class="breadcrumb-item"><a asp-controller="Role" asp-action="Claims" asp-route-id="@Model.Role.Id">Claims</a></li>
                    <li class="breadcrumb-item active" aria-current="page">Delete Claim</li>
                </ol>
            </nav>
        </div>

        <div class="col-md-12">
            <h3>Delete Claim</h3>

            <!--Hidden -->
            <input type="hidden" asp-for="Role.Id" />
            <input type="hidden" asp-for="Id" />


            <div class="card mt-3">
                <h5 class="card-header">Delete Claim</h5>
                <div class="card-body">

                    <!--Input - text -->
                    <div class="form-group row">
                        <label asp-for="Type" class="col-sm-3 col-form-label">
                            @await Html.PartialAsync("_Label", "Type")
                        </label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" disabled="disabled" asp-for="Type">
                        </div>
                    </div>

                    <!--Input - text -->
                    <div class="form-group row">
                        <label asp-for="Value" class="col-sm-3 col-form-label">
                            @await Html.PartialAsync("_Label", "Value")
                        </label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" disabled="disabled" asp-for="Value">
                        </div>
                    </div>

                    <!--Button-->
                    <div class="form-group row">
                        <label class="col-sm-3 col-form-label">
                        </label>
                        <div class="col-sm-9">
                            <button type="submit" class="btn btn-danger">Delete</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</form>